//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Core;

namespace OpenLS.Spreadsheet
{
    abstract class WorksheetLevelUndoUnit: IUndoUnit
    {
        public WorksheetLevelUndoUnit(Worksheet worksheet)
        {
            Worksheet = worksheet;
        }
        protected Worksheet Worksheet;

        #region IUndoUnit Members

        public abstract void Do();

        public virtual bool Merge(IUndoUnit unit)
        {
            return false;
        }

        #endregion
    }
}
